﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZFine.Domain;

namespace Entity.ProjectEnt
{
    public class CustomerAndThingsNameEntity:IEntity<CarriageEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
    {
        public string F_Id { get; set; }
        public string F_CreatorUserId { get; set; }
        public DateTime? F_CreatorTime { get; set; }
        /// <summary>
        ///逻辑删除标记
        /// </summary>
        public bool? F_DeleteMark { get; set; }
        /// <summary>
        /// 删除实体的用户
        /// </summary>
        public string F_DeleteUserId { get; set; }
        /// <summary>
        /// 删除实体时间
        /// </summary>
        public DateTime? F_DeleteTime { get; set; }
        public string F_LastModifyUserId { get; set; }
        public DateTime? F_LastModifyTime { get; set; }

        /// <summary>
        /// 数据类型(0品名 1客户名 )
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 当Type是0的时候Name是品名
        /// 当Type是1的时候Name是客户名
        /// </summary>
        public string Name { get; set; }

        public bool? State { get; set; }

        public string Remark { get; set; }
        /// <summary>
        /// 能否放行
        /// </summary>
        public bool? AllowFangxing { get; set; }
    }
}
